#!/bin/bash

for file in tests/test-node*.ag ; do
  echo $file
  ./agrajag -a < $file > $file.out
  diff -i --ignore-all-space --ignore-blank-lines $file $file.out
  rm $file.out
  done

for file in tests/test-types-node*.ag ; do
  echo $file
  ./agrajag -a < $file > $file.out
  diff -i --ignore-all-space --ignore-blank-lines $file $file.out
  rm $file.out
done
